package com.hua.api.modules.express.service.impl;

import com.hua.api.modules.express.service.ExpressInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@Service
public class ExpressInfoServiceFactory {

    @Autowired
    private Map<String, ExpressInfoService> map = new ConcurrentHashMap<>();

    public ExpressInfoService getExpressInfoService(String key) {
        return map.get(key);
    }


}
